package com.milepost.messagepush.common.constant;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by Ruifu Hua on 2020/2/16.
 */
@Data
@Component
@ConfigurationProperties(prefix="hljucm-constant")
public class HljucmConstant {

    /**
     * 企业id
     */
    private String corpid;

    /**
     * oa应用的id
     */
    private String oaAgentId;

    /**
     * oa应用的密钥
     */
    private String oaSecret;

    /**
     * 获取oa的token
     */
    private String oaGetToken;

    /**
     * oa的token
     */
    public static String oaToken;

    /**
     * 发送应用消息接口地址
     */
    private String sendMsgUrl;
    /**
     * (新应用中)展示消息详情url
     */
    private String viewMsgUrl;

    /**
     * 展示消息缩略图url
     */
    private String viewPicUrl;

    /**
     * oa系统地址
     */
    private String oaBaseUrl;

}
